<html>
<head>
<meta charset="UTF-8">
<title>内部模型输入输出详情</title>
	<link id="easyuiTheme"  href="../../static/easyui/themes/bootstrap/easyui.css" rel="stylesheet" type="text/css"/>
	<link href="../../static/easyui/themes/icon.css" rel="stylesheet" type="text/css"/>
	<link href="../../static/css/esaas-easyui-edit.css" rel="stylesheet" type="text/css"/>
	<script src="../../static/easyui/jquery.min.js" type="text/javascript"></script>
	<script src="../../static/easyui/jquery.cookie.js" type="text/javascript"></script>
	<script src="../../static/easyui/ui-theme.js" type="text/javascript"></script>
	<script src="../../static/easyui/jquery.easyui.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../static/easyui/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
	<script src="../../static/plugin/assets/jslib.util.js" type="text/javascript"></script>
	<script src="../../static/plugin/assets/jslib.jquery.ajax.js" type="text/javascript"></script>
	<script src="../../static/plugin/assets/jslib.easyui.util.js" type="text/javascript"></script>
	<script src="../../ffres/dict/all.js" type="text/javascript"></script>
	<a href="" target="_blank" id="commonLink" name="commonLink"></a>
</head>
<body class="easyui-layout">
	    <form id="ff" method="post">
	    	<div class="esaas-info-title">内部模型输入输出信息</div>
	    	<table class="esaas-info-edit-table">
			<tr hidden>
				<td width="15%" align="right">记录唯一编号：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="recordKeyid" data-options="required:true"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">应用模型标识：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="appModelId" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">参数字段代码：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="paramFieldCode" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">参数字段类型：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="paramFieldType" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
			</tr>
			<tr>
				<td width="15%" align="right">参数字段名称：</td>
				<td width="35%"><input class="easyui-textbox" type="text" disabled
					name="paramFieldName" data-options="required:false"
					style="width: 100%; height: 25px;"></input></td>
				<td width="15%" align="right">输入输出类型：</td>
				<td width="35%"><select class="easyui-combobox"
					id="ioType" name="ioType"
					style="width: 100%; height: 25px;" disabled
					data-options="required:false,editable:false,valueField:'enname',textField:'cnname',data:IO_TYPE">
				</select></td>
			</tr>
			<tr>
				<td width="15%" align="right">是否必需：</td>
				<td width="35%"><select class="easyui-combobox"
					id="mustNeed" name="mustNeed"
					style="width: 100%; height: 25px;" disabled
					data-options="required:false,editable:false,valueField:'enname',textField:'cnname',data:STD_PUB_YN">
				</select></td>
			</tr>
	    	</table>
	    </form>
	    <div style="text-align:center;padding:15px">
			<a href="javascript:void(0)" class="easyui-linkbutton" onclick="closeForm()">&nbsp;关&nbsp;闭&nbsp;</a>
	    </div>
	</div>
	<script>

		var appId = $.getUrlParam('appId');
		$(function() {
			var recordKeyid = $.getUrlParam('recordKeyid');
			$.restfulGet('../../api/isrv/inout/info/' + recordKeyid,null,function(data){
					$('#ff').form('load', {
						recordKeyid : data.rows.recordKeyid,
						appModelId : data.rows.appModelId,
						paramFieldCode : data.rows.paramFieldCode,
						paramFieldType : data.rows.paramFieldType,
						paramFieldName : data.rows.paramFieldName,
						ioType : data.rows.ioType,
						mustNeed : data.rows.mustNeed
					});
			});
		});
		function closeForm(){
			window.parent.JLEUtil.closewin();
		}
	</script>
</body>
</html>
